package com.shiyingzi.utils;

import java.util.List;

public interface IJPATemplateUtils {
	public static final String BEAN_ID = "jpa.TemplateUtils";
	
	public Object save(Object obj);
	
	public Object update(Object obj);
	
	public Object findById(Class c, int id);
	
	public List<Object> findBySql(String sql, Object[] params);
}
